import { defineStore } from "pinia";

export const useStore = defineStore('shop', {
    state: () => {
        return {
            list: [
                { id: '01', name: '手机', price: 1000 },
                { id: '02', name: '电脑', price: 5000 },
                { id: '03', name: '平板', price: 3000 },
            ]
        }
    },
    getters: {},
    actions: {},
});